package cn.singno.springBoot.demo.ch02;

public class UseFunctionService
{
	private FunctionService functionService;

	public void setFunctionService(FunctionService functionService)
	{
		this.functionService = functionService;
	}

	public String sayHello(String word)
	{
		return functionService.sayHello(word);
	}
	
	public void init(){
		System.out.println("UseFunctionService init");
	}
	
	public void close(){
		System.out.println("UseFunctionService close");
	}
}
